package com.bwda.dsrs.systemservice.service;

import com.bwda.dsrs.systemservice.domain.exception.SystemServiceException;
import com.bwda.dsrs.systemservice.domain.form.user.UserForm;
import com.bwda.dsrs.systemservice.domain.po.userrole.UserRolePo;
import com.bwda.dsrs.systemservice.domain.condition.userrole.UserRoleCondition;
import com.bwda.dsrs.systemservice.domain.vo.user.UserVo;
import org.omg.CORBA.SystemException;

import java.util.List;

/**
 * User role service
 *
 * @author yangjun
 */
public interface UserRoleService extends BaseService<UserRolePo, UserRoleCondition> {

    /**
     * Gets audit user list *
     *
     * @param userCode user code
     * @return the audit user list
     * @throws SystemServiceException system service exception
     */
    List<UserForm> getAuditUserList(String userCode) throws  SystemServiceException;
}